/**
 * @file       RightKeyPressEvent.cpp
 * @brief      TODO
 * @author     Huabo Zheng
 * @date       Jan 13, 2012
 * @Copyright  2012, www.netgear.com Inc. All rights reserved.
 */

#include "RightKeyPressEvent.h"
#include "errorcode.h"
#include <Frame.h>

namespace NS_LCD_AFW
{

CRightKeyPressEvent::CRightKeyPressEvent()
{
	this->setEventId(RIGHT_KEY_PRESSED_EVENT_ID);
}

CRightKeyPressEvent::~CRightKeyPressEvent()
{
}

int CRightKeyPressEvent::doProcess(CFrame *pFrameEventHandler)
{

//	if (ERR_SUCCESS != pFrameEventHandler->onRightKeyPress())
//	{
//		return CKeyboardEvent::doProcess(pFrameEventHandler);
//	}
//	return ERR_SUCCESS;
	return pFrameEventHandler->onRightKeyPress();
}

} /* namespace NS_LCD_AFW */
